package day0609;

//引入  文件夹.Random文件
import java.util.Random;

public class ZY1 {
    public static void main(String[] args) {
        Random  r=new Random();
        //创建变量r指向=新建的随机数工具


        System.out.println(r.nextInt());

        int number=r.nextInt();
        System.out.println(number);

        int num=r.nextInt(999); //[0----999 )
        System.out.println(num);

    }
}
